﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Brc_DSB.GetWay.Model
{
    public class ConsulEntity
    {
       
        /// <summary>
        /// consul地址
        /// </summary>
        public string ConsulIP { get; set; }
        /// <summary>
        /// cousul端口
        /// </summary>
        public int ConsulPort { get; set; }
    }

    public class ServiceEntity
    {
        /// <summary>
        /// 地址
        /// </summary>
        public string IP { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServiceName { get; set; }

        /// <summary>
        /// 健康检查地址
        /// </summary>
        public string HealthAddress { get; set; }
    }


    public class ServiceAuthModel
    {
        public string SystemId { get; set; }

        public int RouteId { get; set; }

        public string UpStreamPath { get; set; }
    }

}
